Q3UnknownText_GetData
You can use theQ3UnknownText_GetData
function to get the data of an unknown text object.
TQ3Status Q3UnknownText_GetData ( TQ3UnknownObject unknownObject, TQ3UnknownTextData *unknownTextData);
unknownObject
- An unknown text object.
unknownTextData
- A pointer to an unknown text data structure.
DESCRIPTION
TheQ3UnknownText_GetData
function returns, in theobjectName
andcontents
fields of the unknown text data structure pointed to by theunknownTextData
parameter, pointers to the name and contents of an unknown text object (that is, an unknown object of typekQ3UnknownTypeText
) specified by theunknownObject
parameter. Thecontents
field of the unknown text data structure points to the data stored in the text metafile, excluding any excess white space and any delimiter characters (that is, outermost parentheses).Your application is responsible for allocating the memory occupied by the
unknownTextData
parameter.Q3UnknownText_GetData
allocates memory to hold the name and contents pointed to by the fields of that structure. You must make certain to callQ3UnknownText_EmptyData
to release the memory allocated byQ3UnknownText_GetData
when you are finished using the data.